package com.android.view.fragment.info;

import android.os.Bundle;
import android.support.v4.widget.SwipeRefreshLayout;

import com.android.R;
import com.android.view.fragment.base.BaseFragment;

import butterknife.BindColor;
import butterknife.BindView;

/**
 * author:  TenFace
 * date:    2017/9/27
 * description:
 */

public class MargeTradeFragment extends BaseFragment {

    @BindView(R.id.srl_movie)
    SwipeRefreshLayout mSrlMovie;

    @BindColor(R.color.lite_blue)
    int colorBlue;
    @BindColor(R.color.green)
    int colorGreen;
    @BindColor(R.color.orange)
    int colorOrange;

    public static MargeTradeFragment newInstance(int type) {
        Bundle bundle = new Bundle();
        bundle.putInt("type", type);
        MargeTradeFragment fragment = new MargeTradeFragment();
        fragment.setArguments(bundle);
        return fragment;
    }

    @Override
    protected int setContentLayout() {
        return R.layout.fragment_marge_trade;
    }

    @Override
    protected void initView() {
        //设置下拉刷新的圆环变化颜色，蓝绿橙
        mSrlMovie.setColorSchemeColors(colorBlue, colorGreen, colorOrange);
    }

    @Override
    protected void obtainData() {

    }


    @Override
    protected void initEvent() {

    }

}
